package util;

import model.tsp.Solution;

public class PrinterUtils {

    public static void printTspResult(String method, Solution solution){
        System.out.println("method: " + method);
        System.out.println("solution sequence: ");
        solution.getPermutation().forEach(node -> System.out.print(node + "-->"));
        System.out.println(solution.getPermutation().get(0));
        System.out.println("cost: " + solution.getCost());
        System.out.println("-----------------------------------------------------");
    }
}
